<?php
	$h = fopen("data","r");
	$l = fgets($h);
	$c = fgets($h);
	$i = 2;
	while(!feof($h)){
		if(intval($l) > intval($c)) die("not pass:$i\n");
		$l = $c;
		$c = fgets($h);
		$i ++;
	}
	echo "pass\n";
